# 字典['键']=值
# 1，键存在，修改
# 2，键不存在，添加

dict1 = {"name": "小明", "age": 18, "height": 178, "isMen": True}  # 添加
print(dict1)

dict1['name'] = '老王'  # 修改
print(dict1)

# 添加体重
dict1['weight'] = '65'
print(dict1)
